public class demo09 {
    public static void main(String[] args) throws InterruptedException {
        Thread t = new Thread(()->{
            System.out.println("hello");
        });
        Thread t1 = new Thread(()->{
            System.out.println("hello 2");
        });
        t.start();
        Thread.sleep(10000);
        t1.start();

    }
}
